import {request} from './index'

export function getBannerData() {
  return request({
    url: '/banner',
    method:'get'
  })
}
export function getHotRecommendData() {
  return request({
    url: '/personalized',
    method:'get'
  })
}
export function getNewAlbumData(limit) {
  return request({
    url: '/top/album',
    params: {
      limit
    }
  })
}
export function getRecommendTopListData(idx) {
  return request({
    url: '/top/list',
    params: {
      idx
    }
  })
}
export function getSettleArtistData(cat, limit) {
  return request({
    url: '/artist/list',
    params: {
      cat,
      limit
    }
  })
}
export function getHotDjData(limit) {
  return request({
    url: '/dj/hot',
    params: {
      limit
    }
  })
}